using System;

namespace Atomic.Vasp
{
	[Serializable]
	public class VaspException : Exception
	{
		public VaspException(int exitCode)
			: base(string.Format("VASP execution failed. Exit code: {0}", exitCode))
		{
			ExitCode = exitCode;
		}

		public int ExitCode
		{
			get;
			private set;
		}
	}
}
